package com.lagou.phone;

public class OldPhone extends Phone{

    public OldPhone(String brand, String model, String no) {
        super(brand, model, no);
    }

    @Override
    public void call() {
        System.out.println("品牌为: " + super.getBrand() + ", 型号为: " + super.getModel() + ", 手机号为: " + super.getNo() + "的手机正在打电话...");
    }

    @Override
    public void sendSms() {
        System.out.println("品牌为: " + super.getBrand() + ", 型号为: " + super.getModel() + ", 手机号为: " + super.getNo() + "的手机正在发短信...");
    }
}
